package com.xxxx.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.pojo.Department;
import com.xxxx.pojo.R;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chao
 * @since 2022-09-26
 */
public interface DepartmentService extends IService<Department> {

    List<Department> getAllDepartmentList();

    /**
     * 添加部门
     * @param department
     * @return
     */
    R saveDepartment(Department department);

    R deleteDepartment(Integer id);
}
